package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.page.dto.PageDTO;
import com.leyou.item.dto.BrandDTO;
import com.leyou.item.entity.Brand;

import java.util.List;


public interface BrandService extends IService<Brand> {


    PageDTO<BrandDTO> pageBrands(String key, Integer page, Integer size);

    List<BrandDTO> queryBrandByCid(Integer id);

    void insertBrand(BrandDTO brandDTO);

    void putBrand(BrandDTO brandDTO);


    void deleteById(Long id);
}
